#ifndef VTKFILEWRITER_HH
#define VTKFILEWRITER_HH

#include <cstdlib>
#include <cstdio>
#include <cstring>
#include "Types.hpp"
#include <vector>
#include <iostream>
#include "Lattice.hpp"

class VTKFileWriter
{
    public:

        VTKFileWriter(uint xsize, uint ysize,
               const std::string &problem);

        ~VTKFileWriter();

		void WriteVector(const V_Field &vec,
                const std::string &name);

		void WriteScalar(const D_Field &scalar, const std::string &name);
		void WriteFlag(const Flags &flag, const std::string &name);


    private:
        FILE *mStream;
        unsigned int mDataCount;
};
#endif // VTKFILEWRITER_HH



